package cn.pengyinrui.department.system.emp.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.ToString;
// 手动修改路径
import cn.pengyinrui.department.base.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author peng.yr
 * @since 2023-01-20
 */
@Data
@ToString
public class Employee extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "姓名", orderNum = "1", width = 30, isImportField = "true_st")
    private String username;
    @Excel(name = "邮箱", orderNum = "2", width = 30, isImportField = "true_st")
    private String email;
    @Excel(name = "联系电话", orderNum = "3", width = 30, isImportField = "true_st")
    private String phone;
    private String salt;
    private String password;
    @Excel(name = "年龄", orderNum = "4", width = 30, isImportField = "true_st")
    private Integer age;
    private Integer state;
    @Excel(name = "所属部门", orderNum = "4", width = 30, isImportField = "true_st")
    private Long departmentId;
    private Long logininfoId;
    @Excel(name = "所属店铺", orderNum = "4", width = 30, isImportField = "true_st")
    private Long shopId;


    public String getUsername() {
        return username;
    }

    public Employee setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public Employee setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public Employee setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getSalt() {
        return salt;
    }

    public Employee setSalt(String salt) {
        this.salt = salt;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public Employee setPassword(String password) {
        this.password = password;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public Employee setAge(Integer age) {
        this.age = age;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public Employee setState(Integer state) {
        this.state = state;
        return this;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public Employee setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
        return this;
    }

    public Long getLogininfoId() {
        return logininfoId;
    }

    public Employee setLogininfoId(Long logininfoId) {
        this.logininfoId = logininfoId;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public Employee setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

}
